package cn.initcap.designpattern.pattern.structural.bridge;

/**
 * @author initcap
 * @date 2018/8/28 AM9:12
 */
public class IcbcBaseBank extends BaseBank {

    public IcbcBaseBank(Account account) {
        super(account);
    }

    @Override
    Account openAccount() {
        System.out.println("打开中国工商银行账号");
        account.openAccount();
        return account;
    }
}
